package com.cuotigou.service;

import com.cuotigou.util.ObjectResult;
import com.cuotigou.util.XMLBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2018/11/7.
 */
public interface OfferRewardService {
    //错题悬赏
    ObjectResult index(XMLBean xmlBean);
    //发布悬赏
    ObjectResult offerRewardRelease(XMLBean xmlBean,MultipartFile[] files);
    //删除悬赏
    ObjectResult offerRewardDelete(XMLBean xmlBean);
    //修改悬赏
    ObjectResult offerRewardUpdate(XMLBean xmlBean);
    //我的悬赏
    ObjectResult myOfferReward(XMLBean xmlBean);
    //悬赏详情
    ObjectResult offerRewardDetails(XMLBean xmlBean);
    //添加悬赏回答
    ObjectResult offerRewardanswer(XMLBean xmlBean,MultipartFile[] files);
    //悬赏加入错题
    ObjectResult addWrongTopic(XMLBean xmlBean);
    //悬赏回答采纳
    ObjectResult offerRewardAdopt(XMLBean xmlBean);
    //悬赏回答点赞与举报
    ObjectResult offerRewardanswerFabulous(XMLBean xmlBean);

}
